package cn.iocoder.yudao.module.erp.controller.admin.payinfo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDate;
import java.util.*;
import javax.validation.constraints.*;
import java.math.BigDecimal;

@Schema(description = "管理后台 - 付款记录信息新增/修改 Request VO")
@Data
public class PayInfoSaveReqVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "26231")
    private Long id;

    @Schema(description = "客户", example = "28647")
    private Long customerId;

    @Schema(description = "对账类型", requiredMode = Schema.RequiredMode.REQUIRED  )
    @NotEmpty(message = "对账类型不能为空")
    private String type;

    @Schema(description = "付款金额", requiredMode = Schema.RequiredMode.REQUIRED, example = "17098")
    @NotNull(message = "付款金额不能为空")
    private BigDecimal payCount;

    @Schema(description = "付款日期")
    private LocalDate payDate;

    @Schema(description = "状态"  )
    private Integer status;

    @Schema(description = "备注"  )
    private String remark;

    @Schema(description = "附件 URL" )
    private String fileUrl;

}